#ifndef UNIT_HH_
# define UNIT_HH_

# include "gameobj.hh"

class Unit : public GameObj
{
public:
  Unit (int id, Vector3f pos, Vector3f size, unsigned hp_max, int unit_id, int playerid = 0);
  ~Unit ();

  int unit_id () const { return unit_id_; }

  AI* ai () const { return ai_; }
protected:
  int unit_id_;

  AI* ai_;
};

#endif /// !UNIT_HH_
